home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’97 / Warrior’s Progress / source code / Source / Libraries / Context / ContextFree.h < prev    next >
Encoding:
Text File  |  1997-06-28  |  264 b   |  23 lines  |  [TEXT/CWIE]

  1. // ContextFree.h
  2.  
  3. #ifndef ContextFree_h
  4. #define ContextFree_h
  5.  
  6. #ifndef Context_h
  7. #include "Context.h"
  8. #endif
  9. #ifndef Assert_h
  10. #include "Assert.h"
  11. #endif
  12.  
  13. class ContextFree
  14.   {
  15.     public:
  16.         ContextFree()
  17.           {
  18.             Assert( Context::Current() == 0 );
  19.           }
  20.   };
  21.  
  22. #endif
  23.